<h1>库房列表</h1>

<!-- <div style="overflow:auto;"> -->
<%#= link_to "库房1", {:controller => "products",:f_store_id => 1},:class =>"link_as_button" %>
<%#= link_to "库房2", {:controller => "products",:f_store_id => 2},:class =>"link_as_button" %>
<%#= link_to "库房3", {:controller => "products",:f_store_id => 3},:class =>"link_as_button" %>
<%#= link_to "库房4", {:controller => "products",:f_store_id => 4},:class =>"link_as_button" %>

<p>
<% @stores.each do |store| %>
 <%= link_to store.name, {:controller => "products",:f_store_id => store.id},:class =>"link_as_button" %>
</p>

 <%#= link_to 'Show', store %>
 <%#= link_to 'Edit', edit_store_path(store) %>
 <%#= link_to 'Destroy', store, :confirm => 'Are you sure?', :method => :delete %>
<% end %>

<br />
<!-- </div> -->
<%#= link_to 'New store', new_store_path %>